package com.ebs.md.fxmonitor.marketmonitor.esper.listener;

import java.util.List;

import com.ebs.market.monitor.MarketMonitor.OutOfRegionQuotingEvent;
import com.ebs.md.fxmonitor.marketmonitor.alert.AbstractAlertMessageCreatorBySingleFact;
import com.ebs.md.fxmonitor.marketmonitor.alert.OutOfRegionQuotingMessageCreator;
import com.ebs.md.fxmonitor.marketmonitor.model.OutOfRegionQuoteSingleFact;

public class OutOfRegionQuotingEsperListenerAndPublisher 
extends AbstractEsperListenerAndPublisher<OutOfRegionQuotingEvent, OutOfRegionQuoteSingleFact>
{
	@Override
	protected AbstractAlertMessageCreatorBySingleFact<OutOfRegionQuotingEvent, OutOfRegionQuoteSingleFact> 
	            getCreator( List<OutOfRegionQuoteSingleFact> dataItems) {
		return new OutOfRegionQuotingMessageCreator(dataItems);
	}

}